package com.ksvip.next.components.sequence.properties;


import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Setter
@Getter
@ConfigurationProperties(prefix = "sequence.single")
public class SingleSequenceConfiguration {
    private int      innerStep;
    private int      retryTimes;
    private String   valueName;
    private String[] sequenceNames;

    public SingleSequenceConfiguration() {
    }

    public String getValueName() {
        return this.valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public void setInnerStep(final int innerSetp) {
        this.innerStep = innerSetp;
    }

    public int getInnerStep() {
        return this.innerStep;
    }

    public void setRetryTimes(final int retryTimes) {
        this.retryTimes = retryTimes;
    }

    public int getRetryTimes() {
        return this.retryTimes;
    }

    public void setSequenceNames(final String[] sequenceNames) {
        this.sequenceNames = sequenceNames;
    }

    public String[] getSequenceNames() {
        return this.sequenceNames;
    }
}
